package com.qijian.business.domain.query;

import com.qijian.common.utils.mybatis.WhereType;
import com.qijian.common.utils.mybatis.WhereTypeEnum;
import lombok.Data;
import lombok.ToString;
import com.baomidou.mybatisplus.annotation.TableName;

import java.util.Set;


/**
 * 缺陷对象 查询条件类
 *
 * @author ruoyi
 * @date 2021-09-07
 */

@Data
@ToString
@TableName("fm_defect")
public class DefectQuery {

    @WhereType(tableName = "fm_defect", filed = "id")
    private Long id;
    @WhereType(tableName = "fm_defect", filed = "code")
    private String code;
    @WhereType(tableName = "fm_defect", filed = "name")
    private String name;
    @WhereType(tableName = "fm_defect", filed = "type")
    private String type;
    @WhereType(tableName = "fm_defect", filed = "classify")
    private String classify;
    @WhereType(tableName = "fm_defect", filed = "process_id")
    private Long processId;
    @WhereType(tableName = "fm_defect", filed = "remark")
    private String remark;

    @WhereType(filed = "id", type = WhereTypeEnum.IN)
    private Set<Long> ids;
}
